how to make an AJAX post request to MySQl server using PHP